<form action="{:sysuri()}" data-table-id="FormTable" class="layui-form layui-card" data-auto="true" method="post">
    <div class="layui-card-body padding-left-40">


        <label class="layui-form-item relative block">
            <span class="help-label"><b>标题</b>Category Title</span>
            <input class="layui-input" name="title" placeholder="请输入标题" required value='{$vo.title|default=""}'>
            <span class="help-block"><b>必填，</b></span>
        </label>
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">内容</span>
            <span class="color-desc margin-left-5">Category Remark</span>
            <textarea class="layui-textarea" name="content" placeholder="请输入内容">{$vo.content|default=''}</textarea>
        </label>
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">话题</span>
            <span class="color-desc margin-left-5">Category Remark</span>
            <textarea class="layui-textarea" name="topic" placeholder="请输入话题">{$vo.topic|default=''}</textarea>
            <span class="help-block"><b>请输入话题，文字前面加上#,例如#话题</b></span>
        </label>
        <label class="layui-form-item relative block">
            <span class="color-green font-w7">关键字</span>
            <span class="color-desc margin-left-5">Category Remark</span>
            <textarea class="layui-textarea" name="keyword" placeholder="请输入关键字">{$vo.keyword|default=''}</textarea>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>链接</b>Category Title</span>
            <input class="layui-input" name="url" placeholder="请输入链接"  value='{$vo.url|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>排序</b>Category Title</span>
            <input class="layui-input" name="sort" placeholder="请输入链接"  value='{$vo.sort|default=""}'>
        </label>
        <label class="layui-form-item relative block">
            <span class="help-label"><b>发布时间</b>Category Title</span>
            <input class="layui-input" name="publishing_time" data-date-input="datetime" placeholder="请输入发布时间"  value='{$vo.publishing_time|default=""}'>
        </label>
        <div class="layui-form-item relative block">
            <span class="help-label"><b>图片</b>Category Cover</span>
            <label class="relative block">
                <input class="layui-input think-bg-gray" readonly name="imgs" type="hidden" placeholder="请上传商品分类图标" value='{$vo.imgs|default=""}'>
                <script>$('[name="imgs"]').uploadMultipleImage();</script>
            </label>
            <span class="help-block"><b>可选，</b>请上传商品分类图标，需要是 http 可访问的图片资源链接</span>
        </div>


    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input name='id' type='hidden' value='{$vo.id}'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" data-close type='button' data-confirm="确定要取消编辑吗？">取消编辑</button>
    </div>

</form>